<?php
echo $form->renderBegin();
$this->widget('application.widgets.iconcontrol.iconcontrol',
            array('icons'=>array(
                    'save'=>array('icon'=>'ui-icon-disk','click'=>'function(){$("#cargo_form").submit();}','title'=>'Save'),
                    'upload'=>array('icon'=>'ui-icon-folder-open','title'=>'Upload documents'),
                    )
            ));
$this->widget('zii.widgets.jui.CJuiTabs', array(
    'tabs'=>array(
        'Export Information'=>$form->renderBody(),
        'Shipment List'=>$this->renderPartial('_shipment_list',array('gridView'=>$gridView,'items'=>$items),true),
    ),
    // additional javascript options for the tabs plugin
    ));
$this->widget('application.widgets.button.button', array(
                                                        'options'=>array('label'=>'Submit','icon'=>'ui-icon-plusthick','click'=>"js:function(){ $.fn.extendButton.submit(this,'',{'add':1});return false;}"),
                                                        'name'=>'submit',
                                                        ));
echo $form->renderEnd();
?>